<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>菜单管理</title>
<script type="text/javascript" src="/ui/jquery.min.js"></script>
<script type="text/javascript" src="/ui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/ui/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" type="text/css" href="/ui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/ui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/css/image.css">
<!-- <script type="text/javascript" src="/js/utils/jquery.serializejson.min.js"></script> -->
<script type="text/javascript" src="/js/permisson/menusRight.js"></script>
</head>
<body class="easyui-layout">
<!-- 适应父容器大小 -->
<div data-options="region:'west',title:'使用中',split:true" style="width: 210%;">
	<ul id="tt"></ul>  
</div>
<div data-options="region:'center'">
	<table id="grid"></table>
</div>
<div data-options="region:'east',title:'已删除',split:true" style="width: 210%;">
	<ul id="ttRight"></ul>  
</div>
<!-- 添加表单 -->
<div id="insertDlg">
	<form id="insertForm" method="post" >  
        <table style="width: 300px;text-align:center;">
            <tr>
                <td align="right">编号:</td>
                <td align="left"><input type="text" class="easyui-numberbox" name="menuid" /></td>
            </tr>
            <tr>
                <td align="right">名称:</td>
                <td align="left"><input name="menuname" type="text" /></td>
            </tr>
            <tr>
                <td align="right">对应URL:</td>
                <td align="left"><input name="url" type="text" /></td>
            </tr>
            <tr>
                <td align="right">图标样式:</td>
                <td align="left"><input name="icon" type="text" /></td>
            </tr>
       </table> 
	</form> 
</div> 
<!-- 修改表单 -->
<div id="updateDlg">
	<form id="updateForm" method="post">  
        <table style="text-align:center;">
            <tr>
                <td align="right">编号:</td>
                <td align="left"><input type="text" class="easyui-numberbox" name="menuid" readOnly /></td>
            </tr>
            <tr>
                <td align="right">名称:</td>
                <td align="left"><input name="menuname" type="text" /></td>
            </tr>
            <tr>
                <td align="right">对应URL:</td>
                <td align="left"><input name="url" type="text" /></td>
            </tr>
            <tr>
                <td align="right">图标样式:</td>
                <td align="left"><input id="icon" name="icon" type="text" /></td>
            </tr>
            <tr>
                <td align="right">上级菜单编号:</td>
                <td align="left"><input id="pid" name="pid" type="text" readOnly/></td>
            </tr>
            <tr>
                <td align="right">是否是父菜单:</td>
                <td align="left"><input name="is_parent" type="text" readOnly/></td>
            </tr>
       </table> 
	</form> 
</div> 
<!-- 树形菜单的右键设置 -->
<div id="mm" class="easyui-menu" style="width:120px;">   
    <div data-options="iconCls:'icon-add'">添加</div>   
    <div data-options="iconCls:'icon-save'">修改</div>   
    <div data-options="iconCls:'icon-undo'">重命名</div>   
</div>
<!-- 树形菜单右键重命名设置 -->
<div id="renameDlg">
	<form id="renameForm" method="post">  
		新名称:<input type="text" name="menuname"/>
	</form>
</div>
</body>
</html>